package com.wyl.pmd.rule.errorprone;

public class AssignmentInOperand {

	public void bar() {
	    int x = 2;
	    if ((x = getX()) == 3) {
	      System.out.println("3!");
	    }
	}
	
	private int getX() {
		return 1;
	}
	
}
